package com.example.teacher.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
public class QuestionDto {

    private String homeworkId;               //对应课程只能看对应作业的题目

    private String difficulty;             //难度
    private String courseId;            //只能看对应课程
    private String questionText;   //题目名字
    private String type;  //类型
    private Timestamp createdAt;   //开始时间
    private Timestamp updatedAt;   //结束时间
    private String knowledgePointId;  //知识点id

    private Integer pageNum;
    private Integer pageSize;

    public QuestionDto() {
        this.pageNum = 1;
        this.pageSize = 10;
    }


}
